<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="selenium.base" href=""/>
    <title>AddProductTest</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
    <td rowspan="1" colspan="3">AddProductTest</td>
</tr>
</thead>
<tbody>
<tr>
    <td>deleteAllVisibleCookies</td>
    <td></td>
    <td></td>
</tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>password</td>
    <td>admin</td>
</tr>
<tr>
    <td>type</td>
    <td>login</td>
    <td>admin</td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>//input[@value='Login']</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>link=Administrátorské rozhraní</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>link=Produkty</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>link=Přidat produkt</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>title</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>type</td>
    <td>price</td>
    <td>123</td>
</tr>
<tr>
    <td>type</td>
    <td>description</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>type</td>
    <td>keywords</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>addAttribute</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>aName0</td>
    <td>nazev1</td>
</tr>
<tr>
    <td>type</td>
    <td>aValue0</td>
    <td>hodnota1</td>
</tr>
<tr>
    <td>type</td>
    <td>aUnit0</td>
    <td>jednotka1</td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>update</td>
    <td></td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>title</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>description</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>keywords</td>
    <td>Můj nový produkt</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>price</td>
    <td>123</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>aName0</td>
    <td>nazev1</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>aValue0</td>
    <td>hodnota1</td>
</tr>
<tr>
    <td>verifyValue</td>
    <td>aUnit0</td>
    <td>jednotka1</td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='componentsForm']/fieldset/span[2]/input</td>
    <td></td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='componentsForm']/fieldset/span[1]/input</td>
    <td></td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='componentsForm']/fieldset/span[3]/input</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>//form[@id='componentsForm']/fieldset/input</td>
    <td></td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[1]/input</td>
    <td></td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[2]/input</td>
    <td></td>
</tr>
<tr>
    <td>check</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[3]/input</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>//form[@id='relatedProductsForm']/fieldset/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[2]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[1]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[3]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyNotChecked</td>
    <td>//form[@id='relatedProductsForm']/fieldset/span[4]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='componentsForm']/fieldset/span[1]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='componentsForm']/fieldset/span[2]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyChecked</td>
    <td>//form[@id='componentsForm']/fieldset/span[3]/input</td>
    <td></td>
</tr>
<tr>
    <td>verifyNotChecked</td>
    <td>//form[@id='componentsForm']/fieldset/span[4]/input</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>link=Odhlásit se</td>
    <td></td>
</tr>

</tbody>
</table>
</body>
</html>
